<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<script>
    function globalLib(options) {
        for (const [key,value] of Object.entries(options)) {
            console.log(key,value)
        }
        return 'This is globalLib...'
    }
    globalLib.version = '1.0.0';
    globalLib.sayHello = function () {
        alert('hello,everyone!')
    }
</script>
<div class="app"> This is a App </div>
</body>
</html>
